import http from "@/utils/http";


/**
 * 商品详情
 */
export const getGoodsDetails = (id)=>{
    return http({
        url:"/goods",
        data:{id}
    })
}

/**
 * 同类推荐(也支持猜你喜欢)
 */
export const getGoodsRelevant = (id)=>{
    return http({
        url:"/goods/relevant",
        data:{id}
    })
}